package com.panshi.modules.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserDynamic {
    @ApiModelProperty("动态ID")
    private int id;
    @ApiModelProperty("文章,问题,回答ID")
    private int tId;
    @ApiModelProperty("用户Id")
    private int userId;
    @ApiModelProperty("类型")
    private int type;
    @ApiModelProperty("逻辑删除  0-删  1未删")
    private int deleted;
    @ApiModelProperty("发布时间")
    private Date publishTime;
    @ApiModelProperty("文章,问题标题")
    private String title;
    @ApiModelProperty("文章,回答简介")
    private String introduce;
    @ApiModelProperty("收藏量")
    private int collectNum;
    @ApiModelProperty("回答量")
    private int answerNum;
    @ApiModelProperty("评论量")
    private int commentNum;
    @ApiModelProperty("点赞数量")
    private int raiseNum;
    @ApiModelProperty("阅读量")
    private int readNum;
    @ApiModelProperty("问题ID")
    private int question_id;

}
